//
//  ChangeColorView.h
//  carcareIOS
//
//  Created by wr on 16/4/6.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ChangeColorView : UIView
/*
    渐变色view
    渐变起点颜色startColor
    渐变终点颜色endColor
    渐变起点startPoint
    渐变终点endPoint
  */
- (instancetype)initWithFrame:(CGRect)frame withStartColor:(UIColor *)startColor withEndColor:(UIColor *)endColor withStartPoint:(CGPoint)startPoint withEndPoint:(CGPoint)endPoint;

//用于设置起始位置颜色重置
- (void)setUpStartColor:(UIColor *)startColor withEndColor:(UIColor *)endColor;

@end
